Optimal. Leaf size=369 \[ -\frac{\log (c+d x) \left (2 a^2 d^2 f^2-2 a b d f (3 d e-c f)+b^2 \left (5 c^2 f^2-12 c d e f+9 d^2 e^2\right )\right )}{18 b^{7/3} d^{8/3}}-\frac{\left (2 a^2 d^2 f^2-2 a b d f (3 d e-c f)+b^2 \left (5 c^2 f^2-12 c d e f+9 d^2 e^2\right )\right ) \log \left (\frac{\sqrt [3]{d} \sqrt [3]{a+b x}}{\sqrt [3]{b} \sqrt [3]{c+d x}}-1\right )}{6 b^{7/3} d^{8/3}}-\frac{\left (2 a^2 d^2 f^2-2 a b d f (3 d e-c f)+b^2 \left (5 c^2 f^2-12 c d e f+9 d^2 e^2\right )\right ) \tan ^{-1}\left (\frac{2 \sqrt [3]{d} \sqrt [3]{a+b x}}{\sqrt{3} \sqrt [3]{b} \sqrt [3]{c+d x}}+\frac{1}{\sqrt{3}}\right )}{3 \sqrt{3} b^{7/3} d^{8/3}}+\frac{f (a+b x)^{2/3} \sqrt [3]{c+d x} (-4 a d f-5 b c f+9 b d e)}{6 b^2 d^2}+\frac{f (a+b x)^{2/3} \sqrt [3]{c+d x} (e+f x)}{2 b d} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.829032, antiderivative size = 369, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 26, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.115 \[ -\frac{\log (c+d x) \left (2 a^2 d^2 f^2-2 a b d f (3 d e-c f)+b^2 \left (5 c^2 f^2-12 c d e f+9 d^2 e^2\right )\right )}{18 b^{7/3} d^{8/3}}-\frac{\left (2 a^2 d^2 f^2-2 a b d f (3 d e-c f)+b^2 \left (5 c^2 f^2-12 c d e f+9 d^2 e^2\right )\right ) \log \left (\frac{\sqrt [3]{d} \sqrt [3]{a+b x}}{\sqrt [3]{b} \sqrt [3]{c+d x}}-1\right )}{6 b^{7/3} d^{8/3}}-\frac{\left (2 a^2 d^2 f^2-2 a b d f (3 d e-c f)+b^2 \left (5 c^2 f^2-12 c d e f+9 d^2 e^2\right )\right ) \tan ^{-1}\left (\frac{2 \sqrt [3]{d} \sqrt [3]{a+b x}}{\sqrt{3} \sqrt [3]{b} \sqrt [3]{c+d x}}+\frac{1}{\sqrt{3}}\right )}{3 \sqrt{3} b^{7/3} d^{8/3}}+\frac{f (a+b x)^{2/3} \sqrt [3]{c+d x} (-4 a d f-5 b c f+9 b d e)}{6 b^2 d^2}+\frac{f (a+b x)^{2/3} \sqrt [3]{c+d x} (e+f x)}{2 b d} \]
Antiderivative was successfully verified.
[In] Int[(e + f*x)^2/((a + b*x)^(1/3)*(c + d*x)^(2/3)),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 45.6673, size = 386, normalized size = 1.05 \[ \frac{f \left (a + b x\right )^{\frac{2}{3}} \sqrt [3]{c + d x} \left (e + f x\right )}{2 b d} - \frac{f \left (a + b x\right )^{\frac{2}{3}} \sqrt [3]{c + d x} \left (4 a d f + 5 b c f - 9 b d e\right )}{6 b^{2} d^{2}} + \frac{\left (3 b d \left (- 6 b d e^{2} + f \left (3 a c f + e \left (a d + 2 b c\right )\right )\right ) - f \left (a d + 2 b c\right ) \left (4 a d f + 5 b c f - 9 b d e\right )\right ) \log{\left (-1 + \frac{\sqrt [3]{d} \sqrt [3]{a + b x}}{\sqrt [3]{b} \sqrt [3]{c + d x}} \right )}}{12 b^{\frac{7}{3}} d^{\frac{8}{3}}} + \frac{\left (3 b d \left (- 6 b d e^{2} + f \left (3 a c f + e \left (a d + 2 b c\right )\right )\right ) - f \left (a d + 2 b c\right ) \left (4 a d f + 5 b c f - 9 b d e\right )\right ) \log{\left (c + d x \right )}}{36 b^{\frac{7}{3}} d^{\frac{8}{3}}} + \frac{\sqrt{3} \left (3 b d \left (- 6 b d e^{2} + f \left (3 a c f + e \left (a d + 2 b c\right )\right )\right ) - f \left (a d + 2 b c\right ) \left (4 a d f + 5 b c f - 9 b d e\right )\right ) \operatorname{atan}{\left (\frac{\sqrt{3}}{3} + \frac{2 \sqrt{3} \sqrt [3]{d} \sqrt [3]{a + b x}}{3 \sqrt [3]{b} \sqrt [3]{c + d x}} \right )}}{18 b^{\frac{7}{3}} d^{\frac{8}{3}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((f*x+e)**2/(b*x+a)**(1/3)/(d*x+c)**(2/3),x)
[Out]
_______________________________________________________________________________________
Mathematica [C] time = 0.30363, size = 162, normalized size = 0.44 \[ \frac{\sqrt [3]{c+d x} \left (2 \sqrt [3]{\frac{d (a+b x)}{a d-b c}} \left (2 a^2 d^2 f^2+2 a b d f (c f-3 d e)+b^2 \left (5 c^2 f^2-12 c d e f+9 d^2 e^2\right )\right ) \, _2F_1\left (\frac{1}{3},\frac{1}{3};\frac{4}{3};\frac{b (c+d x)}{b c-a d}\right )+d f (a+b x) (-4 a d f-5 b c f+3 b d (4 e+f x))\right )}{6 b^2 d^3 \sqrt [3]{a+b x}} \]
Antiderivative was successfully verified.
[In] Integrate[(e + f*x)^2/((a + b*x)^(1/3)*(c + d*x)^(2/3)),x]
[Out]
_______________________________________________________________________________________
Maple [F] time = 0.047, size = 0, normalized size = 0. \[ \int{ \left ( fx+e \right ) ^{2}{\frac{1}{\sqrt [3]{bx+a}}} \left ( dx+c \right ) ^{-{\frac{2}{3}}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((f*x+e)^2/(b*x+a)^(1/3)/(d*x+c)^(2/3),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{{\left (f x + e\right )}^{2}}{{\left (b x + a\right )}^{\frac{1}{3}}{\left (d x + c\right )}^{\frac{2}{3}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((f*x + e)^2/((b*x + a)^(1/3)*(d*x + c)^(2/3)),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.264257, size = 570, normalized size = 1.54 \[ \frac{\sqrt{3}{\left (3 \, \sqrt{3}{\left (3 \, b d f^{2} x + 12 \, b d e f -{\left (5 \, b c + 4 \, a d\right )} f^{2}\right )} \left (-b d^{2}\right )^{\frac{1}{3}}{\left (b x + a\right )}^{\frac{2}{3}}{\left (d x + c\right )}^{\frac{1}{3}} - \sqrt{3}{\left (9 \, b^{2} d^{2} e^{2} - 6 \,{\left (2 \, b^{2} c d + a b d^{2}\right )} e f +{\left (5 \, b^{2} c^{2} + 2 \, a b c d + 2 \, a^{2} d^{2}\right )} f^{2}\right )} \log \left (\frac{b d^{2} x + a d^{2} - \left (-b d^{2}\right )^{\frac{1}{3}}{\left (b x + a\right )}^{\frac{2}{3}}{\left (d x + c\right )}^{\frac{1}{3}} d + \left (-b d^{2}\right )^{\frac{2}{3}}{\left (b x + a\right )}^{\frac{1}{3}}{\left (d x + c\right )}^{\frac{2}{3}}}{b x + a}\right ) + 2 \, \sqrt{3}{\left (9 \, b^{2} d^{2} e^{2} - 6 \,{\left (2 \, b^{2} c d + a b d^{2}\right )} e f +{\left (5 \, b^{2} c^{2} + 2 \, a b c d + 2 \, a^{2} d^{2}\right )} f^{2}\right )} \log \left (\frac{b d x + a d + \left (-b d^{2}\right )^{\frac{1}{3}}{\left (b x + a\right )}^{\frac{2}{3}}{\left (d x + c\right )}^{\frac{1}{3}}}{b x + a}\right ) + 6 \,{\left (9 \, b^{2} d^{2} e^{2} - 6 \,{\left (2 \, b^{2} c d + a b d^{2}\right )} e f +{\left (5 \, b^{2} c^{2} + 2 \, a b c d + 2 \, a^{2} d^{2}\right )} f^{2}\right )} \arctan \left (\frac{2 \, \sqrt{3} \left (-b d^{2}\right )^{\frac{1}{3}}{\left (b x + a\right )}^{\frac{2}{3}}{\left (d x + c\right )}^{\frac{1}{3}} - \sqrt{3}{\left (b d x + a d\right )}}{3 \,{\left (b d x + a d\right )}}\right )\right )}}{54 \, \left (-b d^{2}\right )^{\frac{1}{3}} b^{2} d^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((f*x + e)^2/((b*x + a)^(1/3)*(d*x + c)^(2/3)),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{\left (e + f x\right )^{2}}{\sqrt [3]{a + b x} \left (c + d x\right )^{\frac{2}{3}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((f*x+e)**2/(b*x+a)**(1/3)/(d*x+c)**(2/3),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{{\left (f x + e\right )}^{2}}{{\left (b x + a\right )}^{\frac{1}{3}}{\left (d x + c\right )}^{\frac{2}{3}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((f*x + e)^2/((b*x + a)^(1/3)*(d*x + c)^(2/3)),x, algorithm="giac")
[Out]